#include<reg52.h>
#define uchar unsigned char
#define uint unsigned int
uchar xh;
void delay(uint z);
void main()
{
	while(1)
	{
			P1=0xef;
			delay(10);
			P1=0xcf;
			delay(10);
			P1=0xef;
			delay(40);
			P1=0xc7;
			delay(10);
			P1=0xff;
			delay(30);
			P1=0xc7;
			delay(10);
			P1=0xbb;
			delay(10);
			P1=0xfb;
			delay(10);
			P1=0xe7;
			delay(10);
			P1=0xdf;
			delay(10);
			P1=0xbf;
			delay(10);
			P1=0x83;
			delay(10);
			P1=0xff;
			delay(30);
			P1=0xc7;
			delay(10);
			P1=0xbb;
			delay(10);
			P1=0xfb;
			delay(10);
			P1=0xf7;
			delay(10);
			P1=0xfb;
			delay(10);
			P1=0xbb;
			delay(10);
			P1=0xc7;
			delay(10);
			P1=0xff;
			delay(30);
	}
}
void delay (uint z)
{
	uint x,y;
	for(x=z;x>0;x--)
		for(y=11;y>0;y--);
}